package com.hospital.register.dto.user;

import com.hospital.register.dto.base.BasePageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

@Data
@ApiModel(description = "查询用户的参数")
public class UserQueryDto implements Serializable {

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "状态")
    @Range(min = 0L, max = 1L, message = "状态值非法")
    private Integer status;

    @ApiModelProperty(value = "认证状态")
    @Range(min = -1L, max = 2L, message = "认证状态非法")
    private Integer authStatus;

    @ApiModelProperty(value = "创建时间")
    private String createTimeBegin;

    @ApiModelProperty(value = "创建时间")
    private String createTimeEnd;

}
